package com.zxblog;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@MapperScan("com.zxblog.mapper")
@ServletComponentScan("com.zxblog")
public class ZxBlogApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZxBlogApplication.class, args); // First Code
    }

}
